package cn.yerly.sakura.dao.repository;

import java.util.List;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import cn.yerly.sakura.dao.model.Product;
@Repository
public interface ProductRepository extends CrudRepository<Product, Long> {
	List<Product> findByName(String name);
}
